package com.naire.modul.project.service;

import net.common.service.GeneralService;
import com.naire.modul.project.dao.ProjectDao;
import com.naire.modul.project.dao.impl.ProjectDaoImpl;
import com.naire.modul.project.vo.ProjectVo;

/**
 * 
 * 
 * @author Administrator
 * 
 */
public class ProjectDeleteService extends GeneralService {

	private ProjectVo bean;

	@Override
	public void execute() throws Exception {
		ProjectDao dao = new ProjectDaoImpl();
		bean.setFlag(1);
		dao.updateFlag(bean);
	}

	public void setBean(ProjectVo bean) {
		this.bean = bean;
	}

}
